CMAKE_MINIMUM_REQUIRED(VERSION 3.12)
project(TouchX_Status)

set(CMAKE_CXX_STANDARD 14)
message(${PROJECT_SOURCE_DIR})
add_subdirectory(${PROJECT_SOURCE_DIR}/src)
#include_directories(${PROJECT_SOURCE_DIR}/src)

add_library(${PROJECT_NAME} main.cpp)
target_link_libraries(${PROJECT_NAME} Device)

install (
        TARGETS ${PROJECT_NAME}
        EXPORT ${PROJECT_NAME}Targets
        RUNTIME DESTINATION bin
        LIBRARY DESTINATION lib
        ARCHIVE DESTINATION lib
        PUBLIC_HEADER DESTINATION include
)

install (
        EXPORT ${PROJECT_NAME}Targets
        DESTINATION "lib"
)


#target_include_directories(${PROJECT_NAME} PUBLIC ${PROJECT_SOURCE_DIR}/src)

